package com.hutao.sso.service.impl.medicalMainstay;

import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.hutao.sso.dataSource.TargetDataSource;
import com.hutao.sso.mapper.medicalMainstay.MedicalMainstayPathMapper;
import com.hutao.sso.service.medicalMainstay.MedicalMainstayPathService;

@Transactional
@Service
public class medicalMainstayPathServiceImpl implements MedicalMainstayPathService{

	@Autowired
	private MedicalMainstayPathMapper medicalMainstayPathMapper;
	
	@TargetDataSource(name = "ds1")
	@Transactional(readOnly = true)
	@Override
	public Map<String, Object> findMedicalMainstayByContextPath(String contextPath) {
		return medicalMainstayPathMapper.findMedicalMainstayByContextPath(contextPath);
	}

}
